package com.hrbxlh.enums;

/**
 * Created by Administrator on 2018/4/24.
 */
public enum HomeworkOrExpreEnum {
    CHOICE(1,"单选"),
    JUDGE(2,"判断"),
    BLANKS(3,"填空"),
    ANWSER(4,"简答"),
    MANY_CHOICE(5,"多选"),
    QUESTION_TYPE_ERROR(0,"问题类型不正确");

    private int code;

    private String message;

    HomeworkOrExpreEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
